<div class="row mt">
	<div class="col-lg-12">
		<div class="content-panel">
			<h4><i class="fa fa-angle-right"></i> Todos los Clientes</h4>
			<section id="unseen">
				<table class="table table-bordered table-striped table-condensed">
					<thead>
						<tr>
							<th><?php echo $this->Paginator->sort('username', 'Nombre'); ?></th>
							<th><?php echo $this->Paginator->sort('apellido'); ?></th>
							<th class="numeric"><?php echo $this->Paginator->sort('celular'); ?></th>
							<th><?php echo $this->Paginator->sort('correo'); ?></th>
							<th class="numeric"><?php echo $this->Paginator->sort('hora_atencion'); ?></th>
							<th class="numeric"><?php echo $this->Paginator->sort('fecha_nacimiento'); ?></th>
							<th class="numeric"><?php echo __('Actions'); ?></th>
						</tr>
					</thead>
					<tbody>
						<?php foreach ($usuarios as $usuario): ?>
							<tr>
								<td><?php echo h($usuario['Usuario']['username']); ?>&nbsp;</td>
								<td><?php echo h($usuario['Usuario']['apellido']); ?>&nbsp;</td>
								<td class="numeric"><?php echo h($usuario['Usuario']['celular']); ?>&nbsp;</td>
								<td ><?php echo h($usuario['Usuario']['correo']); ?>&nbsp;</td>
								<td class="numeric"><?php echo date('H:i', strtotime($usuario['Usuario']['hora_atencion'])); ?>&nbsp;</td>
								<td class="numeric"><?php echo date('d-m-Y', strtotime($usuario['Usuario']['fecha_nacimiento'])); ?>&nbsp;</td>
								<td class="numeric">
									<?php echo $this->Html->link('<i class="fa fa-eye"></i>', array('action' => 'view', $usuario['Usuario']['id']), array('escape' => false)); ?>&nbsp;&nbsp;
									<?php echo $this->Html->link('<i class="fa fa-edit"></i>', array('action' => 'edit', $usuario['Usuario']['id']), array('escape' => false)); ?>&nbsp;&nbsp;
									<?php echo $this->Form->postLink('<i class="fa fa-trash-o"></i>', array('action' => 'delete', $usuario['Usuario']['id']), array('escape' => false), __('Are you sure you want to delete # %s?', $usuario['Usuario']['id'])); ?>
								</td>
							</tr>
						<?php endforeach; ?>
					</tbody>
				</table>
			</section>
		</div><!-- /content-panel -->
	</div><!-- /col-lg-12 -->			
</div><!-- /row -->

<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>